set ( 	kdcdiscstructureplugin_SRCS
		kdcdiscstructureplugin.cpp
		kdcdiscstructurewidget.cpp
		kdcdiscmodel.cpp
		discstructuretreeview.cpp
		movielabel.cpp
		movietooltip.cpp
		discsettingswidget.cpp
		movieorderwidget.cpp
	)

kde4_add_plugin ( kdcdiscstructureplugin ${kdcdiscstructureplugin_SRCS} )
target_link_libraries ( kdcdiscstructureplugin kdclibgui kdclibcore ${KDE4_KDEUI_LIBS} )
install( TARGETS kdcdiscstructureplugin DESTINATION ${EXEC_INSTALL_PREFIX}/plugins )
install( FILES kdcdiscstructureplugin.rc  DESTINATION  ${DATA_INSTALL_DIR}/kdvdcreator )
install(FILES kdcdiscstructureplugin.desktop  DESTINATION  ${SERVICES_INSTALL_DIR} )